import request from '@/common/request.js'

const api = {}
const PORT1 = 'baseinfo'  //可用可不用
// 注册获取验证码
// url(路径), method(请求方式), data(参数), power(headers头)
api.register = params => request.globalRequest(`/register/code`, 'GET', params, 1)

export default api